//
//  SEGActivitySignAwardModel.m
//  ExcellentHome
//
//  Created by 揭婧雯 on 2017/8/21.
//  Copyright © 2017年 陈区. All rights reserved.
//

#import "SEGActivitySignAwardModel.h"

@implementation SEGActivitySignAwardModel

- (instancetype)initWithDictionary:(NSDictionary*)dictionary
{
    self = [super init];
    if (self) {
        _awardValue = @"";
        _pic = @"";
        _awardId = @"";
        _awardType = @"";
        _signDays = @"";
        [self setValuesForKeysWithDictionary:dictionary];
    }
    return self;
}
+ (instancetype)initWithDictionary:(NSDictionary*)dictionary
{
    return [[self alloc] initWithDictionary:dictionary];
}
- (void)setValue:(id)value forUndefinedKey:(NSString*)key
{}
- (void)setAwardValue:(NSString*)awardValue{
    _awardValue = [[SEGUtils ValueToString:awardValue]copy];
}
- (void)setPic:(NSString*)pic{
    _pic = [[SEGUtils ValueToString:pic]copy];
}
- (void)setAwardId:(NSString*)awardId{
    _awardId = [[SEGUtils ValueToString:awardId]copy];
}
- (void)setAwardType:(NSString*)awardType{
    _awardType = [[SEGUtils ValueToString:awardType]copy];
}
- (void)setSignDays:(NSString*)signDays{
    _signDays = [[SEGUtils ValueToString:signDays]copy];
}

@end
